package com.yu;

import redis.clients.jedis.Jedis;

import java.util.Map;

public class JedisTest {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("119.84.135.55",6379);
        Map<String, String> stringStringMap = jedis.hgetAll("1376373588105498624");
        for(Map.Entry<String,String> entry:stringStringMap.entrySet()){
            System.out.println(entry.getKey()+":"+entry.getValue());
        }
    }
}
